package cn.practice.egweibo3.comment.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum StatusCode {

    OPERATION_SUCCESS(200, "操作成功"),

    OPERATION_FAIL(500, "操作失败"),

    PARAM_ERROR(400, "参数错误"),

    UNKNOWN_ERROR(999, "未知错误");

    private Integer state;

    private String message;
}
